<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_id" data-rule="required" data-source="service/index" class="form-control selectpage" name="row[service_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apply_id" data-rule="required" data-source="apply/index" class="form-control selectpage" name="row[apply_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apply_name" data-rule="required" class="form-control" name="row[apply_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="11"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Schedule_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <dl class="fieldlist" data-name="row[schedule_json]">
                <dd>
                    <ins>{:__('Key')}</ins>
                    <ins>{:__('Value')}</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[schedule_json]" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_money" data-rule="required" class="form-control" step="0.01" name="row[order_money]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Branch_office_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch_office_uid" data-rule="required" class="form-control" name="row[branch_office_uid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Branch_office_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch_office_rate" data-rule="required" class="form-control" step="0.01" name="row[branch_office_rate]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Branch_office_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch_office_money" data-rule="required" class="form-control" step="0.01" name="row[branch_office_money]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_uid" data-rule="required" class="form-control" name="row[agent_uid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_rate" data-rule="required" class="form-control" step="0.01" name="row[agent_rate]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_money" data-rule="required" class="form-control" step="0.01" name="row[agent_money]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sale_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale_uid" data-rule="required" class="form-control" name="row[sale_uid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sale_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale_rate" data-rule="required" class="form-control" step="0.01" name="row[sale_rate]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sale_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale_money" data-rule="required" class="form-control" step="0.01" name="row[sale_money]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_file')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-contract_file" class="form-control " rows="5" name="row[contract_file]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
